package com.auto.code.core.service;

import java.util.List;

import com.auto.code.core.domain.GenTableEntity;

/**
 * @author meikb
 * @desc
 * @date 2019-09-29 17:24
 */
public interface ReadTableService {

    /**
     * 读取数据库表 属性
     * @throws Exception 
     */
    public GenTableEntity readField(String dbName, String tableName) throws Exception;

    /**
     * 查询所有的表
     */
    public List<GenTableEntity> getAllTable(String dbName)throws Exception;
}
